<!doctype html>
<html class="no-js">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>{$meta_title}</title>
  
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="renderer" content="webkit">
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  <link rel="icon" type="image/png" href="">
  <link rel="apple-touch-icon-precomposed" href="">
  <meta name="apple-mobile-web-app-title" content="{$meta_title}" />
  <link rel="stylesheet" href="__ROOT__/Application/Home/View/default/assets/css/amazeui.min.css"/>
  <link rel="stylesheet" href="__ROOT__/Application/Home/View/default/assets/css/admin.css">
   <script type="text/javascript" src="__PUBLIC__/libs/dingding/javascripts/zepto.min.js"></script>
 <script type="text/javascript" src="https://g.alicdn.com/ilw/ding/0.8.9/scripts/dingtalk.js"></script>
</head>
<body>


<!-- content start -->
<div class="admin-content">
  <div class="admin-content-body">
      
  <div class="am-panel am-panel-default">
            <div class="am-panel-bd am-collapse am-in" id="collapse-panel-1">
              <ul class="am-list admin-content-file">
                
               
				<li>
                  <strong><span ></span> 客户名</strong>
                  <p>{$val.customer_name}</p>
                </li>
                <li>
                  <strong><span ></span> 级别</strong>
                  <p>{$val.level}</p>
                </li>
                <li>
                  <strong><span ></span> 创建时间</strong>
                  <p>{$val.create_time}</p>
                </li>
                <li>
                  <strong><span ></span> 客户公司名称</strong>
                  <p>{$val.company}</p>
                </li>
                <li>
                  <strong><span ></span> 手机号</strong>
                  <p>{$val.mobile}</p>
                </li>
                <li>
                  <strong><span ></span> QQ</strong>
                  <p>{$val.qq}</p>
                </li>
                <li>
                  <strong><span ></span> 邮箱</strong>
                  <p>{$val.email}</p>
                </li>
                <li>
                  <strong><span ></span> 性别</strong>
                  <p>{$val.sex}</p>
                </li>
                <li>
                  <strong><span ></span> 办公电话</strong>
                  <p>{$val.phone}</p>
                </li>
                <li>
                  <strong><span ></span> 微信号</strong>
                  <p>{$val.wechat}</p>
                </li>
                <li>
                  <strong><span ></span> 城市</strong>
                  <p>{$val.city_text}</p>
                </li>
                <li>
                  <strong><span ></span> 来源</strong>
                  <p>{$val.source}</p>
                </li>
                <li>
                  <strong><span ></span> 客服</strong>
                  <p>{$val.customer_service_id_text}</p>
                </li>
                <li>
                  <strong><span ></span> 创建人</strong>
                  <p>{$val.create_member}</p>
                </li>
                <li>
                  <strong><span ></span> 上次回访时间</strong>
                  <p>{$val.last_visit_time}</p>
                </li>
                <li>
                  <strong><span ></span> 备注</strong>
                  <p>{$val.remark}</p>
                </li>
               <if condition="($user_info.ding_pass eq 1) OR ($val.creater eq 1)" >
	                <li>
	                  <strong><span ></span> 操作</strong>
	                   <p style=" text-align: center; ">
	                   		<a href="/Wap/Customer/edit/id/{$val['id']}"><span class="am-badge font-size am-badge-warning">编辑</span></a>
						</p>
	                </li>
                
                </if>
              </ul>
            </div>
          </div>

   <div style="height:80px;"></div> 
</div>
<!-- content end -->

</div>
<script type="text/javascript" >
dd.ready(function() {
	//下拉刷新
	dd.ui.pullToRefresh.enable({
	    onSuccess: function() {
	    	window.location.reload();
	    	dd.ui.pullToRefresh.stop();
	    },
	    onFail: function() {
	    	
	    }
	});
	//右侧
	dd.biz.navigation.setRight({
	    show: false,//控制按钮显示， true 显示， false 隐藏， 默认true
	    control: false,//是否控制点击事件，true 控制，false 不控制， 默认false
	    text: '',//控制显示文本，空字符串表示显示默认文本
	    onSuccess : function(result) {
	    	
	        //如果control为true，则onSuccess将在发生按钮点击事件被回调
	        /*
	        {}
	        */
	    },
	    onFail : function(err) {}
	});

}); 


 
</script>
<!-- footnav start --> 
<style>
.footnav{ position: fixed;  bottom: 0;    width: 100% ; background: #fff; z-index:999999}
.footnav ul{ padding:5px 0; border-top:1px solid #ccc}
.footnav ul li{ width:20%; float:left;list-style-type: none;}
.footnav ul li a{ display:block; text-align:center; font-size:12px;    color: #767171;}
.footnav ul li a span{ font-size:24px;line-height: 20px;}
.active a {color:#0e90d2 !important;}

</style>
<div class=" footnav">
    <ul>
    <li > <a  href="/Wap/Index/shouye" ><span class="am-icon-home"></span>首页 </a> </li>
     <li ><a href="/Wap/Task/mytask"><span class="am-icon-file-text"></span>任务</a></li>
      <li ><a href="/Wap/Server/index"><span class="am-icon-recycle"></span> 服务器</a></li>
      <li class="active"><a href="/Wap/Customer/index"><span class="am-icon-user-md"></span>客户</a></li> 
      <li ><a href="/Wap/Project/index"><span class="am-icon-briefcase"></span>项目</a></li>
    </ul>
    
</div>
<!-- footnav end -->
<script src="__ROOT__/Application/Home/View/default/assets/js/jquery.min.js"></script>

<script src="__ROOT__/Application/Home/View/default/assets/js/amazeui.min.js"></script>
<script src="__ROOT__/Application/Home/View/default/assets/js/app.js"></script>
</body>
</html>
